package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.base.MesScanKeysRelation;
import com.ruoyi.system.domain.base.MesSteps;
import com.ruoyi.system.domain.client.MesQualityItems;

import java.util.List;

/**
 * 工步Mapper接口
 *
 * @author ruoyi
 * @date 2023-02-20
 */
public interface MesStepsMapper extends BaseMapper<MesSteps> {

    /**
     * 扫码绑定-页面采集项
     * @param operationCode 工序编码
     * @return
     */
    public List<MesScanKeysRelation> selectByProductCodeAndStationCode(String operationCode);

    /**
     * 数据下发、数据采集-页面采集项
     * @param operationCode 工序编码
     * @return
     */
    public List<MesQualityItems> selectByStationCode(String operationCode);

}
